package com.zw.stock_sell_storage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zw.stock_sell_storage.dto.RoleDto;
import com.zw.stock_sell_storage.dto.UserDto;
import com.zw.stock_sell_storage.dto.ex.UserDtoEx;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户mapper
 */
@Mapper
public interface UserMapper extends BaseMapper<UserDto> {
    int insertUserLinkRole(@Param("userDtoEx") UserDtoEx userDtoEx);
    int deleteUserLinkRole(int userId);
}
